package cn.iocoder.yudao.module.contract.controller.admin.basicData.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 供应商新增/修改 Request VO")
@Data
public class BasicSupplierSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31260")
    private Long id;

    @Schema(description = "供应商名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "供应商名称不能为空")
    private String name;

    @Schema(description = "供应商编码")
    private String code;

    @Schema(description = "创建日期")
    private String erdat;

}